package com.cskaoyan.bean.storage;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author: 蒋镇泽
 * @Description:
 * @Date: 2022-06-07-21:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Storage {

    /**
     * size : 178697
     * addTime : 2022-06-05 14:44:27
     * name : 111.png
     * updateTime : 2022-06-05 14:44:27
     * id : 946
     * type : image/png
     * key : c18pj1e82emdqx37zv1p.png
     * url : http://182.92.235.201:8083/wx/storage/fetch/c18pj1e82emdqx37zv1p.png
     */
    private Integer id;
    private String key;
    private String name;
    private String type;
    private Integer size;
    private String url;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;





}
